package cn.csc.module.order.controller.admin.order.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigInteger;
import java.util.List;

/**
 * 发货请求VO
 */
@Data
public class OrderDeliveryReqVO {

    @ApiModelProperty(value = "订单子项id", required = true)
    @NotNull(message = "订单Id不能为空")
    private List<BigInteger> orderItemIds;

    @ApiModelProperty(value = "发货文件", required = true)

    private String deliveryFile;

    @ApiModelProperty(value = "配送类型", required = true)
    @NotNull(message = "单个orderItem的配送类型1.快递物流(默认）,2.送货上门,3.自提")
    private Integer deliveryType;
    @ApiModelProperty(value = "快递公司的编码", required = true)
    private String logisticsCom;
    @ApiModelProperty(value = "查询的快递单号", required = true)
    private String logisticsNum;
}
